package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件管理审核后对象 b_e_affile
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
public class BEAffile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键,自动生成 */
    private String id;

    /** 外键，电子档案案卷表 */
    @Excel(name = "外键，电子档案案卷表")
    private String eaid;

    /** 外键，案卷级档案表，实体档案室按照实体档案进行重新组卷时生成 */
    @Excel(name = "外键，案卷级档案表，实体档案室按照实体档案进行重新组卷时生成")
    private String aid;

    /** 文件名，数字化部输入 */
    @Excel(name = "文件名，数字化部输入")
    private String wenJianName;

    /** 文件数，数字化部输入，案卷包含的文件个数 */
    @Excel(name = "文件数，数字化部输入，案卷包含的文件个数")
    private Long pageShu;

    /** 文件目录，文件存入服务器自动生成 */
    @Excel(name = "文件目录，文件存入服务器自动生成")
    private String fileDirectory;

    /** 状态值 0：表示未被绑定  1：表示已被绑定 */
    @Excel(name = "状态值 0：表示未被绑定  1：表示已被绑定")
    private Long state;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 文件id */
    @Excel(name = "文件id")
    private String fileId;

    /** 文件编号（当前案卷中） */
    @Excel(name = "文件编号", readConverterExp = "当=前案卷中")
    private Long efilenum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String listnum;

    /** 列表号 */
    @Excel(name = "列表号")
    private Long listId;

    /** 索引id */
    @Excel(name = "索引id")
    private Long indexId;

    /** 案卷ID */
    @Excel(name = "案卷ID")
    private String volumeid;

    /** 旧案卷ID */
    @Excel(name = "旧案卷ID")
    private String oldvolumeid;

    /** 文件题名 */
    @Excel(name = "文件题名")
    private String filename;

    /** 责任者 */
    @Excel(name = "责任者")
    private String duty;

    /** 文件编号 */
    @Excel(name = "文件编号")
    private String tagnum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String filenum;

    /** 主题词 */
    @Excel(name = "主题词")
    private String thematic;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    /** 页数 */
    @Excel(name = "页数")
    private String pagenumber;

    /** 密级 */
    @Excel(name = "密级")
    private String securitylayer;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String filetype;

    /** 保存期限 */
    @Excel(name = "保存期限")
    private String savetime;

    /** 文件时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "文件时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date filetime;

    /** 文件号 */
    @Excel(name = "文件号")
    private Long fileno;

    /** 附件 */
    @Excel(name = "附件")
    private String fileatt;

    /** 载体类型 */
    @Excel(name = "载体类型")
    private String carriertype;

    /** 文件总数量 */
    @Excel(name = "文件总数量")
    private String totalnum;

    /** 总数量 */
    @Excel(name = "总数量")
    private Long total;

    /** 纸张类型 */
    @Excel(name = "纸张类型")
    private String papertype;

    /** 建设单位 */
    @Excel(name = "建设单位")
    private String buildorganization;

    /** 编制单位 */
    @Excel(name = "编制单位")
    private String wcompanyId;

    /** 档号 */
    @Excel(name = "档号")
    private String vnum;

    /** 是否归档（1为已归档，0为未归档） */
    @Excel(name = "是否归档", readConverterExp = "1=为已归档，0为未归档")
    private Long isArchived;

    /** 项目索引 */
    @Excel(name = "项目索引")
    private Long projIndex;

    /** 附注 */
    @Excel(name = "附注")
    private String comments;

    /** 摘要 */
    @Excel(name = "摘要")
    private String abstracts;

    /** 关键字 */
    @Excel(name = "关键字")
    private String keywords;

    /** 电子文件存放路径 */
    @Excel(name = "电子文件存放路径")
    private String filepath;

    /** 文件信息预留1 */
    @Excel(name = "文件信息预留1")
    private String fileReserved1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fileReserved2;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEaid(String eaid) 
    {
        this.eaid = eaid;
    }

    public String getEaid() 
    {
        return eaid;
    }
    public void setAid(String aid) 
    {
        this.aid = aid;
    }

    public String getAid() 
    {
        return aid;
    }
    public void setWenJianName(String wenJianName) 
    {
        this.wenJianName = wenJianName;
    }

    public String getWenJianName() 
    {
        return wenJianName;
    }
    public void setPageShu(Long pageShu) 
    {
        this.pageShu = pageShu;
    }

    public Long getPageShu() 
    {
        return pageShu;
    }
    public void setFileDirectory(String fileDirectory) 
    {
        this.fileDirectory = fileDirectory;
    }

    public String getFileDirectory() 
    {
        return fileDirectory;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setFileId(String fileId) 
    {
        this.fileId = fileId;
    }

    public String getFileId() 
    {
        return fileId;
    }
    public void setEfilenum(Long efilenum) 
    {
        this.efilenum = efilenum;
    }

    public Long getEfilenum() 
    {
        return efilenum;
    }
    public void setListnum(String listnum) 
    {
        this.listnum = listnum;
    }

    public String getListnum() 
    {
        return listnum;
    }
    public void setListId(Long listId) 
    {
        this.listId = listId;
    }

    public Long getListId() 
    {
        return listId;
    }
    public void setIndexId(Long indexId) 
    {
        this.indexId = indexId;
    }

    public Long getIndexId() 
    {
        return indexId;
    }
    public void setVolumeid(String volumeid) 
    {
        this.volumeid = volumeid;
    }

    public String getVolumeid() 
    {
        return volumeid;
    }
    public void setOldvolumeid(String oldvolumeid) 
    {
        this.oldvolumeid = oldvolumeid;
    }

    public String getOldvolumeid() 
    {
        return oldvolumeid;
    }
    public void setFilename(String filename) 
    {
        this.filename = filename;
    }

    public String getFilename() 
    {
        return filename;
    }
    public void setDuty(String duty) 
    {
        this.duty = duty;
    }

    public String getDuty() 
    {
        return duty;
    }
    public void setTagnum(String tagnum) 
    {
        this.tagnum = tagnum;
    }

    public String getTagnum() 
    {
        return tagnum;
    }
    public void setFilenum(String filenum) 
    {
        this.filenum = filenum;
    }

    public String getFilenum() 
    {
        return filenum;
    }
    public void setThematic(String thematic) 
    {
        this.thematic = thematic;
    }

    public String getThematic() 
    {
        return thematic;
    }
    public void setCtime(Date ctime) 
    {
        this.ctime = ctime;
    }

    public Date getCtime() 
    {
        return ctime;
    }
    public void setPagenumber(String pagenumber) 
    {
        this.pagenumber = pagenumber;
    }

    public String getPagenumber() 
    {
        return pagenumber;
    }
    public void setSecuritylayer(String securitylayer) 
    {
        this.securitylayer = securitylayer;
    }

    public String getSecuritylayer() 
    {
        return securitylayer;
    }
    public void setFiletype(String filetype) 
    {
        this.filetype = filetype;
    }

    public String getFiletype() 
    {
        return filetype;
    }
    public void setSavetime(String savetime) 
    {
        this.savetime = savetime;
    }

    public String getSavetime() 
    {
        return savetime;
    }
    public void setFiletime(Date filetime) 
    {
        this.filetime = filetime;
    }

    public Date getFiletime() 
    {
        return filetime;
    }
    public void setFileno(Long fileno) 
    {
        this.fileno = fileno;
    }

    public Long getFileno() 
    {
        return fileno;
    }
    public void setFileatt(String fileatt) 
    {
        this.fileatt = fileatt;
    }

    public String getFileatt() 
    {
        return fileatt;
    }
    public void setCarriertype(String carriertype) 
    {
        this.carriertype = carriertype;
    }

    public String getCarriertype() 
    {
        return carriertype;
    }
    public void setTotalnum(String totalnum) 
    {
        this.totalnum = totalnum;
    }

    public String getTotalnum() 
    {
        return totalnum;
    }
    public void setTotal(Long total) 
    {
        this.total = total;
    }

    public Long getTotal() 
    {
        return total;
    }
    public void setPapertype(String papertype) 
    {
        this.papertype = papertype;
    }

    public String getPapertype() 
    {
        return papertype;
    }
    public void setBuildorganization(String buildorganization) 
    {
        this.buildorganization = buildorganization;
    }

    public String getBuildorganization() 
    {
        return buildorganization;
    }
    public void setWcompanyId(String wcompanyId) 
    {
        this.wcompanyId = wcompanyId;
    }

    public String getWcompanyId() 
    {
        return wcompanyId;
    }
    public void setVnum(String vnum) 
    {
        this.vnum = vnum;
    }

    public String getVnum() 
    {
        return vnum;
    }
    public void setIsArchived(Long isArchived) 
    {
        this.isArchived = isArchived;
    }

    public Long getIsArchived() 
    {
        return isArchived;
    }
    public void setProjIndex(Long projIndex) 
    {
        this.projIndex = projIndex;
    }

    public Long getProjIndex() 
    {
        return projIndex;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setAbstracts(String abstracts) 
    {
        this.abstracts = abstracts;
    }

    public String getAbstracts() 
    {
        return abstracts;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setFilepath(String filepath) 
    {
        this.filepath = filepath;
    }

    public String getFilepath() 
    {
        return filepath;
    }
    public void setFileReserved1(String fileReserved1) 
    {
        this.fileReserved1 = fileReserved1;
    }

    public String getFileReserved1() 
    {
        return fileReserved1;
    }
    public void setFileReserved2(String fileReserved2) 
    {
        this.fileReserved2 = fileReserved2;
    }

    public String getFileReserved2() 
    {
        return fileReserved2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("eaid", getEaid())
            .append("aid", getAid())
            .append("wenJianName", getWenJianName())
            .append("pageShu", getPageShu())
            .append("fileDirectory", getFileDirectory())
            .append("state", getState())
            .append("creationTime", getCreationTime())
            .append("fileId", getFileId())
            .append("efilenum", getEfilenum())
            .append("listnum", getListnum())
            .append("listId", getListId())
            .append("indexId", getIndexId())
            .append("volumeid", getVolumeid())
            .append("oldvolumeid", getOldvolumeid())
            .append("filename", getFilename())
            .append("duty", getDuty())
            .append("tagnum", getTagnum())
            .append("filenum", getFilenum())
            .append("thematic", getThematic())
            .append("ctime", getCtime())
            .append("pagenumber", getPagenumber())
            .append("securitylayer", getSecuritylayer())
            .append("filetype", getFiletype())
            .append("savetime", getSavetime())
            .append("filetime", getFiletime())
            .append("fileno", getFileno())
            .append("fileatt", getFileatt())
            .append("carriertype", getCarriertype())
            .append("totalnum", getTotalnum())
            .append("total", getTotal())
            .append("papertype", getPapertype())
            .append("buildorganization", getBuildorganization())
            .append("wcompanyId", getWcompanyId())
            .append("vnum", getVnum())
            .append("isArchived", getIsArchived())
            .append("projIndex", getProjIndex())
            .append("comments", getComments())
            .append("abstracts", getAbstracts())
            .append("keywords", getKeywords())
            .append("filepath", getFilepath())
            .append("fileReserved1", getFileReserved1())
            .append("fileReserved2", getFileReserved2())
            .toString();
    }
}
